package com.hanggold.lambda;

import java.util.function.Function;

public class FunctionDemo {

    public static void main(String[] args) {

            Function<String,Long> function =  r->Long.valueOf(r);

        Function<String,Long> function2 =  r->Long.valueOf(r);
        long result = function.apply("12310");

        System.out.println(result);


        long m = 1_000_100L;

        System.out.println("m: "+m);

    }


}
